package com.objectcarpentry.kaylee;

import java.net.URI;



public interface IPlayer {

	
	final static int MODE_SINGLE_REPEAT = 0x1;
	final static int MODE_MULTI_REPEAT = 0x2;
	final static int MODE_RANDOM = 0x4;
	
	void play();
	void stop();
	void pause();
	void setInput(URI p);
	
	void addPlayerListener(IPlayerListener p);
	void removePlayerListener(IPlayerListener l);
	
	int getMode();
	void setMode(int mode);
	void setVolume(double volume);
	double getVolume();
	URI getInput();
	State getState();
	
	IClockTime getTime();
	
}
